.layout {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
::-webkit-scrollbar {
  width: 0.05rem;
  height: 10px;
  float: right;
}
/*定义滚动条轨道
 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  border-radius: 10px;
  background-color: white;
}
/*定义滑块
 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 0.1rem;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  background-color: rgba(0, 0, 0, 0.5);
}
/* 头部 */
.header {
  width: 100%;
  height: 0.86rem;
  min-width: 320px;
  max-width: 640px;
  line-height: 0.86rem;
  font-size: 0.35rem;
  position: fixed;
  z-index: 999;
  text-align: center;
  color: aliceblue;
  padding: 0 0.5rem;
  background: linear-gradient(to bottom, #424d53 0%, #2f373c 100%);
}
.header span {
  width: 0.5rem;
  height: 0.86rem;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.4rem;
}
/* 顶部轮播 */
.banners {
  padding-top: 0.86rem;
  width: 100%;
  height: 4.5rem;
  position: fixed;
  min-width: 320px;
  max-width: 640px;
}
.banners .bg {
  width: 100%;
  height: 100%;
  display: block;
}
.banners .navs {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.15rem 1rem;
}
.banners .navs .search {
  width: 50%;
  float: left;
  height: 0.45rem;
}
.banners .navs .search img {
  float: right;
  display: block;
  height: 100%;
}
.banners .navs .msg {
  width: 50%;
  height: 0.4rem;
  float: left;
}
.banners .navs .msg img {
  height: 0.4rem;
  display: block;
  float: right;
}
.banners .nav_top {
  width: 100%;
  height: 0.56rem;
  background-color: #e5e5e5;
}
.banners .nav_top a {
  width: 50%;
  height: 0.56rem;
  line-height: 0.56rem;
  padding: 0.1rem 0.9rem;
  font-size: 0.24rem;
}
.banners .nav_top a:nth-of-type(1) {
  border-right: 0.02rem solid white;
  border-bottom: 0.05rem solid #d30d05;
}
.banners .music {
  width: 0.6rem;
  height: 0.6rem;
  position: absolute;
  right: 0.3rem;
  top: 30%;
  transform: translateY(-50%);
}
.banners .music img {
  width: 100%;
  display: block;
  animation: music 2s linear infinite;
}
@keyframes music {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* 中间内容部分 */
.content {
  width: 100%;
  height: 100%;
  flex: 1;
  padding-top: 79%;
}
.content .main {
  width: 100%;
  height: 100%;
  padding: 0.08rem;
  overflow-y: auto;
}
.content .main ul {
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0.03rem;
}
.content .main ul li {
  width: 33%;
  float: left;
  padding: 0.08rem;
  border: 0.01rem solid red;
  margin-right: 0.03rem;
  margin-bottom: 0.03rem;
}
.content .main ul li img {
  width: 100%;
  display: block;
}
.content .main ul li h3 {
  color: #666;
}
.content .main ul li p {
  text-align: left;
  font-size: 0.1rem;
}
.content .main ul li .vote {
  width: 100%;
  height: 0.5rem;
  line-height: 0.5rem;
  border-radius: 0.1rem;
  margin-top: 0.2rem;
  background-color: #c52921;
  color: white;
  font-size: 0.28rem;
  text-align: center;
}
.content .main ul li:nth-of-type(3n) {
  margin-right: 0rem;
}
